@import "@/shared/styles/mixin.scss";
$ThemeColor: #00685a;
$ThemeHoverColor: #40a89a;
.el-select-dropdown {
  text-align: center;
  @include background_color("background_color1");
  .selected {
    color: $ThemeColor;
  }
  li {
    span {
      @include font_color("font_color1");
    }
  }
  .el-select-dropdown__item:hover {
    @include background_color("font_color10");
  }
  .hover {
    @include background_color("font_color10");
  }
}
.el-loading-spinner .path {
  stroke: $ThemeColor;
}
.titlenav {
  @media screen and (max-width: 1860px) {
    display: none;
  }
}

.mobile {
  display: none;

  @media screen and (max-width: 1100px) {
    display: block;
  }
}

// .web {
//   @media screen and (max-width: 1100px) {
//     display: none;
//   }
// }

.out-banner {
  height: 380px;
  margin: 0 auto;
  background-image: url(../../assets/docs-bug/banner.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  @media screen and (max-width: 1100px) {
    height: 160px;
    background-image: url(../../assets/docs-bug/banner-mo.png);
  }
}

.title {
  text-align: center;
  padding: 64px 0 40px 0;
  font-size: 36px;
  font-weight: normal;
  font-family: AppleSystemUIFont;

  @media screen and (max-width: 1100px) {
    padding: 40px 0 16px 0;
    font-size: 16px;
    font-weight: 500;
  }
}

.main {
  overflow: hidden;
  @include font_color("font_color1");
  @include background_color("background_color2");

  @media screen and (max-width: 1100px) {
    padding: 0 16px;
    font-size: 12px;
  }
  a {
    @include font_color("font_color2");
    font-weight: 600;
  }
  p {
    font-size: 14px;
    @media screen and (max-width: 1100px) {
      font-size: 12px;
    }
  }

  .warper {
    margin: 0 auto;
    max-width: 1416px;
    padding-bottom: 64px;

    @media screen and (max-width: 1100px) {
      padding-bottom: 32px;
    }

    .docs-introduction {
      position: relative;
      display: flex;
      margin-top: 64px;
      padding: 40px 96px;
      @include background_color("background_color1");
      @include shadow_color("shadow_color1");
      box-shadow: 0px 12px 32px 0px #00685a !important;
      .introduction-right {
        margin-left: 64px;
        .introduction-title {
          font-size: 36px;
        }

        .paragraph {
          line-height: 22px;
          padding-bottom: 8px;
          font-weight: normal;
          margin-top: 24px;
          font-size: 14px;
          @include font_color("font_color3");
          @media screen and (max-width: 1100px) {
            font-family: 12px;
            font-size: 12px;
          }
        }
        .active-date {
          display: flex;
          margin-top: 24px;
          .data-title {
            font-weight: 600;
          }
          .date {
            @include font_color("font_color3");
          }
        }
        .active-object {
          margin-top: 24px;
          font-weight: 600;
        }
        .object-list {
          margin-top: 12px;
          @include font_color("font_color2");
        }
      }
      @media screen and (max-width: 1100px) {
        padding: 24px 16px;
        align-items: center;
        flex-direction: column;

        .introduction-left {
          width: 152px;

          img {
            width: 100%;
          }
        }

        .introduction-right {
          margin-left: 0;
          .introduction-title {
            margin: 0;
            font-size: 14px;
            text-align: center;
          }

          .welcome {
            padding: 16px 0;
            font-size: 14px;
            text-align: center;
          }
        }
      }
    }
    .how-to-join {
      background-image: url(/src/assets/docs-bug/join.png);
      padding: 40px;
      @include background_color("background_color3");

      .join-main {
        display: flex;
        justify-content: start;

        .join-left,
        .join-right {
          display: flex;
          width: 648px;
          height: 354px;
          align-items: center;
          justify-content: center;
          padding: 0 40px;
          font-size: 14px;
          @include background_color("background_color4");

          .join-right-text,
          .join-left-text {
            margin-left: 40px;

            p {
              padding-bottom: 8px;
              line-height: 22px;
              @include font_color("font_color3");
            }
            .issue-four {
              padding-bottom: 0;
            }
            .tips {
              @include font_color("font_color6");
            }
          }

          .join-title {
            margin-bottom: 16px;
            font-size: 18px;
          }
        }

        .join-left {
          margin-right: 40px;
        }
      }

      .join-bottom {
        color: #fff;
        padding-top: 64px;

        span {
          padding: 0 8px;
        }

        a {
          color: #feb32aff;
        }
      }

      @media screen and (max-width: 1100px) {
        background-size: cover;
        background-image: url(/src/assets/docs-bug/join-mo.png);
        padding: 24px;

        .join-main {
          flex-direction: column;

          .join-left,
          .join-right {
            padding: 30px 24px 24px;
            width: 100%;
            height: 100%;
            line-height: 18px;
            flex-direction: column;

            .join-title {
              font-size: 14px;
              text-align: center;
            }

            .join-left-text,
            .join-right-text {
              margin: 0;
            }

            img {
              width: 70px;
              margin-bottom: 24px;
            }
          }

          .join-left {
            margin: 0 0 24px 0;
          }
        }

        .join-bottom {
          padding-top: 16px;
          font-size: 14px;

          span {
            display: block;
            font-size: 12px;
            padding: 8px 0 4px;
          }
        }
      }
    }

    .rule-main {
      background-image: url(/src/assets/docs-bug/rule.png);
      background-repeat: no-repeat;
      // background-size: 100% 100%;
      padding: 64px;
      @include background_color("background_color1");

      p {
        position: relative;
        padding-left: 16px;
        padding-bottom: 12px;
        @include font_color("font_color3");
      }

      p:last-child {
        padding-bottom: 0;
      }

      p::after {
        content: "";
        position: absolute;
        top: 7px;
        left: 0;
        width: 4px;
        height: 4px;
        border-radius: 50%;
        @include background_color("background_color5");
      }

      .explain-paragraph {
        // font-weight: 600;
        font-size: 14px;
        padding-left: 0;
        @include font_color("font_color3");
      }

      .explain-paragraph::after {
        display: none;
      }

      .explain-title {
        font-weight: normal;
        padding: 16px 0 12px 0;
        font-size: 14px;
        @include font_color("font_color3");
      }
      .important-note {
        font-weight: normal;
        padding: 12px 0 12px 0;
        font-size: 14px;
        @include font_color("font_color7");
      }
      table td {
        border: 1px solid #00685a;
      }

      table {
        margin-top: 24px;
        width: 100%;
        height: 100%;
        @include background_color("background_color1");

        border-collapse: collapse;

        .table-title {
          color: #fff;
          background-color: $ThemeColor;

          td {
            padding: 15px 0;
            text-align: center;
          }
        }

        td {
          padding: 24px;

          .content-title {
            @include font_color("font_color1");
            font-weight: 600;
            padding-bottom: 10px;
            font-size: 16px;
          }
        }

        td:first-child {
          text-align: center;
        }
      }
      .rule-note {
        margin: 40px 0 16px 0;
      }

      @media screen and (max-width: 1100px) {
        background-size: cover;

        background-image: url(/src/assets/docs-bug/rule-mo.png);
        padding: 16px 18px;

        .explain {
          .explain-paragraph {
            font-size: 12px;
            font-weight: 700;
          }

          .explain-title {
            padding: 16px 0 8px 0;
            font-size: 14px;
          }
        }

        table {
          margin-top: 24px;

          .table-title {
            td {
              padding: 10px;
              &:nth-of-type(1){
                min-width: 48px;
              }
            }
            td:nth-chlid(2) {
              min-width: 136px;
            }
          }

          .table-item {
            td {
              padding: 8px;
            }

            .item-content {
              .content-title {
                font-size: 12px;
              }

              min-width: 136px;
              padding: 8px;
            }

            .integral-content {
              height: 100%;
              flex-direction: column;
              justify-content: start;

              .explain-paragraph {
                padding: 0;
                font-size: 12px;
              }
            }
          }
        }
      }
    }

    .prize {
      margin-top: 64px;
      min-height: 673px;
      @include font_color("font_color1");
      .title {
        padding-bottom: 16px;
        padding-top: 0;
      }

      .prize-box {
        width: 100%;
        display: flex;
        transition: all 0.3s;
        justify-content: space-between;
        @media screen and (max-width: 1100px){
          background-color: $ThemeColor;
          padding: 24px 24px 0 24px;
        }
        // flex-wrap: wrap;
        .prize-item {
          position: relative;
          justify-content: center;
          margin-top: 92px;
          padding-top: 56px;
          width: 456px;
          height: 320px;
          font-size: 14px;
          text-align: center;
          @include background_color("background_color1");
          @media screen and (max-width: 1100px){
            width: 100%;
          }
          .prize-name {
            position: absolute;
            top: 0;
            transform: translateY(-50%) translateX(-50%);
          }
          .prize-text {
            margin-bottom: 8px;
            p {
              font-size: 14px;
              line-height: 22px;
              @include font_color("font_color3");
              @media screen and (max-width: 1100px){
                font-size: 12px;
              }
            }
          }
          .prize-img{
            border-radius: 24px;
          }
        }
      }
      
      .prize-special-box {
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        transition: all 0.3s;
        justify-content: center;
        @media screen and (max-width: 1100px){
          padding: 0 24px 24px 24px;
          background-color: $ThemeColor;
        justify-content: center;
        position: relative;
        top:-1px;
        }
        .prize-item {
          position: relative;
          justify-content: center;
          margin-top: 92px;
          padding-top: 56px;
          width: 456px;
          min-height: 184px;
          font-size: 14px;
          text-align: center;
          @include background_color("background_color1");
          @media screen and (max-width: 1100px){
            margin-top: 44px;
              width: 100%;
    
          }
          img {
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateY(-50%) translateX(-50%);
            @media screen and (max-width: 1100px){
              width: 140px;
            }
          }
          .prize-text {
            margin-bottom: 8px;
            p {
              font-size: 14px;
              line-height: 22px;
              @include font_color("font_color3");
              @media screen and (max-width: 1100px){
                font-size: 12px;
              }
            }
          }
          &:nth-of-type(1) {
            margin-right: 24px;
            @media screen and (max-width: 1100px){
              margin-right: 0;
            }
          }
        }
      }

      @media screen and (max-width: 1100px) {
        min-height: auto;
        background-size: cover;
        background-image: url(/src/assets/docs-bug/prize-mo.png);

        .tabber {
          .monthly {
            padding: 7px 28px;
          }
        }

        .prize-box {
          flex-direction: column;

          .prize-item {
            margin: 44px 0 0 0;
            padding: 24px;
            height: 100%;
            width: 100%;
            &:nth-of-type(1){
              margin-top: 24px;
            }

            img {
              width: 140px;
            }
          }

          .prize-item:nth-child(2n) {
            margin-left: 0;
          }
        }
      }
    }

    .rankTitle {
      padding-bottom: 16px;
    }

    .tabber {
      cursor: pointer;
      margin: 0 auto 40px;
      display: flex;
      width: fit-content;
      border: 1px solid;
      @include border_color("border_color2");

      .rankBar {
        padding: 12px 64px;
        @include font_color("font_color1");
        transition: all 0.3s;
      }

      .rankActive {
        color: #fff !important;
        @include background_color("background_color6");
      }

      @media screen and (max-width: 1100px) {
        .rankBar {
          padding: 7px 28px;
        }
      }
    }

    .rank {
      margin-top: 40px;
      padding: 64px;
      @include background_color("background_color1");
      @media screen and (max-width: 1100px){
        padding: 24px 32px;
        margin-top: 24px;
      }
      .rank-head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 40px;
        .debug-button {
          display: flex;
          @media screen and (max-width: 1100px){
            flex-wrap: wrap;
            justify-content: center;
            width: 100%;
          }
          a{
            @media screen and (max-width: 1100px){
              display: block;
              width: 100%;
              max-width: 492px;
              margin: 0 auto;
            }
            .debug-detail {
              cursor: pointer;
              width: 200px;
              display: flex;
              margin-left: 40px;
              justify-content: center;
              align-items: center;
              height: 48px;
              background-size: cover;
              background-image: url(/src/assets/docs-bug/detail-bg.png);
              color: #ffffff ;
              @media screen and (max-width: 1100px){
                font-size: 12px;
                height: 34px;
                margin-left: 0;
                width: 100%;
              }
              a {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 100%;
                height: 100%;
                color: #ffffff;
              }
            }
          }
          
          // .detail1 {
          //   background-image: url(/src/assets/docs-bug/doc-detail.png);
          // }
          // .detail2 {
          //   background-image: url(/src/assets/docs-bug/blog-detail.png);
          // }
        }

        .switch-tab {
          display: flex;
          .el-select {
            width: 492px;
            // width: 100%;
            line-height: 48px;
            text-align: center;

            .el-input__suffix-inner {
              align-items: center;
            }

            .el-icon {
              display: flex;
              background-color: #fff;
              box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.15);
              border-radius: 4px;
              width: 32px;
              height: 32px;

              svg {
                color: #000;
                height: 14px;
                box-sizing: content-box;
              }
            }
            .el-input__inner {
              padding-left: 16px;
              @include font_color("font_color3");
              @include background_color("background_color7");
              border: 1px solid $ThemeHoverColor;
              height: 48px;
              box-shadow: none !important;
            }

            .el-input__inner::-webkit-input-placeholder {
              color: rgba(0, 0, 0, 0.45);
            }

            .el-input__inner:-moz-placeholder {
              /* Mozilla Firefox 4 to 18 */
              color: rgba(0, 0, 0, 0.45);
            }

            .el-input__inner::-moz-placeholder {
              /* Mozilla Firefox 19+ */
              color: rgba(0, 0, 0, 0.45);
            }

            .el-input__inner:-ms-input-placeholder {
              /* Internet Explorer 10+ */
              color: rgba(0, 0, 0, 0.45);
            }
          }
        }
      }

      .empty {
        padding: 20px 0;
        text-align: center;
        font-size: 16px;
        border: 1px solid #87c8bf;
        @media screen and (max-width: 1100px) {
          padding: 10px 0;
        }
      }

      .look-detail {
        cursor: pointer;
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 48px;
        color: #ffffff;
        background-color: $ThemeColor;

        .extend {
          margin-left: 10px;
        }

        .put-away {
          transform: rotate(180deg);
        }

        a {
          color: #feb32aff;
        }
      }

      table td {
        border: 1px solid #87c8bf;
      }

      table {
        width: 100%;
        border-collapse: collapse;
        text-align: center;

        tr {
          height: 96px;
          overflow: hidden;
          transition: 0.2s;

          td:nth-child(1) {
            width: 96px;
          }

          td:nth-child(2) {
            width: 350px;

            a {
              @include font_color("font_color1");

              &:hover {
                color: $ThemeColor;
              }
            }
          }

          td:nth-child(3) {
            width: 350px;
          }
        }

        tr:nth-child(n + 2):hover {
          @include background_color("background_color8");
        }

        .rank-first {
          height: 48px;
          color: #fff;
          background-color: $ThemeColor;

          td {
            padding: 15px 0;
            text-align: center;
          }
        }

        td {
          .content-title {
            @include font_color("font_color2");
            padding-bottom: 10px;
            font-size: 16px;
          }
        }
      }

      @media screen and (max-width: 1100px) {
        padding:24px;
        background-size: cover;

        .rank-head {
          margin-bottom: 16px;
          flex-direction: column-reverse;

          .switch-tab {
            justify-content: center;
            width: 100%;

            .el-select {
              width: 492px;
              // width: 100%;
              line-height: 34px;
              text-align: center;

              .el-input__suffix-inner {
                align-items: center;
              }

              .el-icon {
                display: flex;
                background-color: #fff;
                box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.15);
                border-radius: 4px;
                width: 18px;
                height: 18px;

                svg {
                  color: #000;
                  height: 12px;
                  box-sizing: content-box;
                }
              }

              .el-input__inner {
                padding-left: 16px;
                color: #000;
                @include background_color("background_color7");
                border: 1px solid $ThemeColor;
                height: 34px;
                box-shadow: none !important;
              }
            }
          }

          .debug-detail {
            margin: 0 0 16px 0;
            height: 34px;
            max-width: 492px;
            width: 100%;
            flex: none;
          }
        }

        .rank-body {
          .rank-first {
            td {
              overflow: hidden;
              white-space: nowrap;
              text-overflow: ellipsis;
              -o-text-overflow: ellipsis;
              padding: 0;
            }

            td:last-child {
              min-width: 100px;
            }
          }

          tr {
            height: 34px;

            td {
              img {
                width: 100px;
              }
            }
          }
        }

        .look-detail {
          height: 34px;
        }
      }
    }
  }
}
footer {
  background-image: url(../../assets/footer-img/footer-bg.png);
}
